package com.ebt.m.proposal_v2.dao.request;

import com.ebt.m.proposal_v2.utils.ArrayUtils;

import java.util.List;

/**
 * 保存计划书语音请求参数Body
 *
 * @author archer.qi
 *         Created on 2017/5/18.
 */
public class ParamSaveProposalTaps {
    /*计划书ID*/
    public String pickNum;
    /* 语音列表*/
    public List<ParamProposalTap> message;

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("{ pickNum: " + pickNum + "\n" +
                "" + "message:[");
        if (ArrayUtils.isEmpty(message)) {
            builder.append("]");
        } else {
            for (ParamProposalTap pt : message) {
                builder.append(pt.toString()).append(",");
            }
        }
        builder.append("}");
        return builder.toString();
    }
}
